<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_WARNING",false);?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="http://localhost/ly/shop/Tpl/shopping-tp/css/member.css" />
	<script type='text/javascript' src='http://localhost/ly/HDPHP/hdphp/Extend/Org/Jquery/jquery-1.8.2.min.js'></script>
	<script  type="text/javascript" src="http://localhost/ly/shop/Tpl/shopping-tp/js/list.js"></script>
	<title>【色丰衣家】品质网购，值得信赖！</title>
</head>
<body>
	<div id="ly">
		<div id="header">
			<div class="top_box">
				<div class="top_bar">
					<ul class="top_bar_left">
						<li class="title_shop">
							<a class="title_shop_is" href="">色丰衣家</a>
						</li>
					</ul>
					<ul class="top_bar_right">
						<?php if($_SESSION['user']['uid']){ ; ?>
						<li class="login1">
							<a class="login_is2">欢迎&nbsp;<?php echo $_SESSION['user']['username'] ; ?></a>
						</li>
						<li class="reg">
							<a class="reg_is" href="<?php echo U('Login/out');?>">退出</a>
						</li>
						<?php }else{; ?>
						<li class="login">
							<a class="login_is" href="<?php echo U('Login/login');?>">登陆</a>
						</li>
						<li class="reg">
							<a class="reg_is" href="<?php echo U('Login/reg');?>">注册</a>
						</li>
						<?php } ;?>
						<li class="my_bb">
							<a class="my_bb_is" href="">
								我的宝贝
								<i class="jt"></i>								
							</a>
							<ul class="my_bb_list">
								<li><a  href="">购买的宝贝</a></li>
								<li><a  href="">收藏的宝贝</a></li>
								<li><a  href="">收藏的店铺</a></li>
							</ul>
						</li>
						<li class="help">
							<a class="help_is" href="">
								帮助
								<i class="jt"></i>
							</a>
							<ul class="help_list">
								<li><a  href="">帮助中心</a></li>
								<li><a  href="">客服专区</a></li>
								<li><a  href="">交易安全</a></li>
								<li><a  href="">货到付款</a></li>
								<li><a  href="">维权中心</a></li>
							</ul>
						</li>
						<li class="sq">
							<a href="">社区</a>
						</li>	
						<li class="dy_center">
							<a href="">订阅中心</a>
						</li>					
					</ul>
				</div>				
			</div>
			<div class="search_logo_box">
				<div class="search_logo">
					<div class="logo">
						<h1><a class="logo_is" href=""></a></h1>
					</div>
					<div class="search_box">
						<div class="pz_logo">
							<a class="pz_logo_is" href=""></a>
						</div>
						<div class="search_bar">
							<form action="">
								<div  class="txt_box">
									<input class="search_txt" type="text" value="请输入品牌或商品搜索名称">
								</div>
								<div  class="btn_box">
									<input class="search_btn" type="submit" value="">
								</div>
							</form>
						</div>
						<div class="shopping_box">
							<a class="shopping_box_is" href="ShoppingCar/index'}">0</a>
						</div>
					</div>
				</div>
				<div class="nav_box">
					<div class="nav_bar">
						<div class="nav_bar_left">	
							<a href="<?php echo U('Index/index');?>">首页</a>									
						</div>
						<div class="nav_bar_right">
							<ul>
								<li>
									<a href="">秋语送夏</a>
								</li>
								<li>
									<a href="">热卖TOP榜单</a>
								</li>
								<li>
									<a href="">清仓专区</a>
								</li>
								<li>
									<a href="">秒杀专区</a>
								</li>
								<li>
									<a href="">手机客户端</a>
								</li>
							</ul>
						</div>
					</div>
				</div>	
			</div>
		</div>
		<div class="empty15"></div>
		<div id="body">
			<div class="left">
				<div class="title">
					<h2>我的色丰</h2>
				</div>
				<div class="bdBox">
					<div class="hd-l">
						<a  href="">订单中心</a>
					</div>
					<div class="info">
						<a href="">我的订单</a>
					</div>
					<div class="hd-l">
						<a  href="">个人信息</a>
					</div>
					<div class="info">
						<a href="<?php echo U('info');?>">个人资料</a>
						<a href="<?php echo U('info');?>">密码修改</a>
					</div>
				</div>
			</div>
			<div class="right">
				<div class="title-r">
					<h2>我的订单</h2>
				</div>
				<div class="cnt-r">
					<table>
						<tbody>
							<tr>
								<th width="140px">订单号</th>
								<th width="360px">订单详情</th>
								<th width="100px">收货人</th>
								<th width="140px">订单金额</th>
								<th width="100px">订单时间</th>
								<th width="120px">订单状态</th>
								<th width="100px">操作</th>
							</tr>
							<?php $hd["list"]["d"]["total"]=0;if(isset($data) && !empty($data)):$_id_d=0;$_index_d=0;$lastd=min(1000,count($data));
$hd["list"]["d"]["first"]=true;
$hd["list"]["d"]["last"]=false;
$_total_d=ceil($lastd/1);$hd["list"]["d"]["total"]=$_total_d;
$_data_d = array_slice($data,0,$lastd);
if(count($_data_d)==0):echo "";
else:
foreach($_data_d as $key=>$d):
if(($_id_d)%1==0):$_id_d++;else:$_id_d++;continue;endif;
$hd["list"]["d"]["index"]=++$_index_d;
if($_index_d>=$_total_d):$hd["list"]["d"]["last"]=true;endif;?>

							<tr>
								<td><a href=""><?php echo $d['order_number'];?></a></td>
								<td>
									<img src="" alt="">
								</td>
								<td><?php echo $d['consignee'];?></td>
								<td><?php echo $d['total_price'];?></td>
								<td><?php echo date('Y-m-d H:m:s',$d['order_time']) ?></td>
								<td>等待发货</td>
								<td>
									<a href="">查看</a>
								</td>
							</tr>
						<?php $hd["list"]["d"]["first"]=false;
endforeach;
endif;
else:
echo "";
endif;?>
						</tbody>
					</table>
				</div>
			</div>
		</div>
		<!-- 右侧主体内容区域 ↑-->

		<div class="empty15"></div>
			
		<!-- 尾部信息 ↓-->
		<div id="footer">
			<div class="footer_black">
				<div class="footer_black_left"><a href=""></a></div>
				<div class="footer_black_mid"><a href=""></a></div>
				<div class="footer_black_right"><a href=""></a></div>
			</div>
			<div class="empty15"></div>
			<div class="service_list">
				<div class="inner">
					<div class="inner_is tiro">
						<dl>
							<dt>新手指南</dt>
							<dd>
								<p><a href="">新人购物指南</a></p>
								<p><a href="">商户服务平台</a></p>
								<p><a href="">消费者维权中心</a></p>
							</dd>
						</dl>
					</div>
					<div class="inner_is ensure">
						<dl>
							<dt>购物保障</dt>
							<dd>
								<p><a href="">全场正品</a></p>
								<p><a href="">先行赔付</a></p>
								<p><a href="">快速发货</a></p>
								<p><a href="">7天免邮包退</a></p>
							</dd>
						</dl>
					</div>
					<div class="inner_is pay">
						<dl>
							<dt>支付方式</dt>
							<dd>
								<p><a href="">货到付款</a></p>
								<p><a href="">一点通支付</a></p>
								<p><a href="">信用卡支付</a></p>
								<p><a href="">借记卡支付</a></p>
								<p><a href="">财付通余额支付</a></p>
							</dd>
						</dl>
					</div>
					<div class="inner_is service">
						<dl>
							<dt>服务中心</dt>
							<dd>
								<p><a href="">网购规则平台</a></p>
								<p><a href="">如何加入色丰衣家</a></p>
								<p><a href="">加入色丰衣家外部团队</a></p>
							</dd>
						</dl>
					</div>
				</div>
			</div>
			<div class="empty15"></div>
			<div class="footer_bar">
				<div class="inner_bar">
					<div class="link">
						<p>Copyright © 2013 色丰衣家 • SeFeng Online Shopping Mall</p>
						<p>网站的创意，素材来源网络 丨 Designer by - 李晔</p>
					</div>
				</div>		
			</div>
		</div>
		<!-- 尾部信息 ↑-->
	</div>
</body>
</html>